<table>
    <tr>
        <th>{$pollName}</th>
        <th>{$isOpenUntil}</th>
        <th>&nbsp;</th>
    </tr>
    {section name=poll loop=$polls}
    <tr>
        <td>{$polls[poll].name}</td>
        <td>{$polls[poll].openUntil|date_format:"%d.%m.%Y"}</td>
        <td>
            <a href="{$polls[poll].edit}">{$edit}</a>
            {if $polls[poll].approved == 0}
            <a href="{$polls[poll].show}">{$show}</a>
            {else}
            <a href="{$polls[poll].hide}">{$hide}</a>
            {/if}
            <a href="{$polls[poll].delete}">{$delete}</a>
        </td>
    </tr>
    {/section}
</table>